Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / clients / {id} / certificates / {attr}

Path parameters:
realm - realm name (not id!)
id - id of client (not client-id)
attr -

Sub-Resources
Resources
NameDescription
download
generate
generate-and-downloadGenerate new keypair and certificate and downloads private key into specified keystore format.
uploadUpload certificate and eventually private key
upload-certificateUpload only certificate, not private key

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients/{id}/certificates/{attr} 

Method Detail

GET /admin/realms/{realm}/clients/{id}/certificates/{attr}

HTTP Example:
GET /admin/realms/{realm}/clients/{id}/certificates/{attr}
API Example:

ClientAttributeCertificateResource.getKeyInfo({'realm': /* name realm name (not id!) */,
  'id': /* id id of client (not client-id) */,
  'attr': /* attributePrefix */});

Output:
CertificateRepresentation -
Produces:
application/json

Keycloak REST Services 1.5.0-Final